<template>
	<view >
		<image :src="image"></image>
	</view>
</template>

<script>
export default {
	data() {
		return {
			image:"http://47.106.199.123:8080/pictures/category/cmnx.png",
			
			show:false,
			title:'标题',
			content:'uView的目标是成为uni-app生态最优秀的UI框架',
			activity:{
				activityID:111,
				description:"为了热烈庆祝五一劳动节，推出此活动，点击参与即可获取五一点餐神卷",
				poster:"https://s1.328888.xyz/2022/07/09/Xqhs.png"
			}
		};
	},
	methods:{
		func(){
			console.log("test")
			this.show = !this.show
		}
	},
	onShow() {
		console.log("onshow")
		var _this = this
		uni.request({
			url: _this.$store.state.IP+"activity/",
			method:"GET",
			success(res) {
				console.log("res.data.msg:"+res.data.data)
			}
		})
	}
};
</script>

<style lang="scss">
	.poster{
		height: 800rpx;
	}
</style>